﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 只读字段
{
    public class Document
    {
        public readonly DateTime _creationTime;
        public Document() 
        { 
        _creationTime = DateTime.Now;
        }
    }
}
